import request from '@/utils/request'

/**
 * 登录
 * @param {*} data 
 */
export function getContent() {
    return request({
      url: '/api/home/content',
      method: 'get'
    })
}


/**
 * 注册
 * @param {*} data 
 */
export function addAdmin(data) {
    return request({
      url: '/api/portal/member/register',
      method: 'post',
      data
    })
}


